package com.sdkj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

@TableName("orders")
public class Orders implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id; //主键
    private Integer memberid; //会员id
    private Integer setmealid; //套餐id
    private Date orderdate;  //预约的日期
    private String ordertype; //预约的类型
    private String orderstatus; //订单的状态


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMemberid() {
        return memberid;
    }

    public void setMemberid(Integer memberid) {
        this.memberid = memberid;
    }

    public Integer getSetmealid() {
        return setmealid;
    }

    public void setSetmealid(Integer setmealid) {
        this.setmealid = setmealid;
    }

    public Date getOrderdate() {
        return orderdate;
    }

    public void setOrderdate(Date orderdate) {
        this.orderdate = orderdate;
    }

    public String getOrdertype() {
        return ordertype;
    }

    public void setOrdertype(String ordertype) {
        this.ordertype = ordertype;
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", memberid=" + memberid +
                ", setmealid=" + setmealid +
                ", orderdate=" + orderdate +
                ", ordertype='" + ordertype + '\'' +
                ", orderstatus='" + orderstatus + '\'' +
                '}';
    }
}
